

//单个删除：根据id删除
function delProtocolDesignById(id) {
	
	if(confirm("确定删除此安全协议吗？")) {	

		$.ajax({
			type:"delete",
			url:HOST.concat("/protocolDesigns/id/?token=")+config.token,
			data:{
				"id":id
			},
			contentType:"application/x-www-form-urlencoded",
			dataType:"json",
			success:function(res){
				checkLogin(res);
				alert("删除成功！");
				window.location.href="designProtocol.html";
			}
		});
		
	}
}

